package com.tools.starter.swagger.annotation;

import com.tools.starter.swagger.config.SwaggerConfig;
import com.tools.starter.swagger.sqlite.SQLiteConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

import java.lang.annotation.*;

/**
 * @author com.tools
 * EnableSwagger2Configuration
 * <com.tools.starter.swagger.annotation>
 * @version 1.0
 * @date Created in 2020/8/27 15:58
 **/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Documented
@Import({SwaggerConfig.class, SQLiteConfiguration.class})
@ComponentScan(basePackages = {"com.tools"})
@EnableSwagger2
public @interface EnableSwagger2Configuration {
}
